/**
 * 学生管理
 */

import request from "@/utils/request.js"

// 学生列表
export function getStudentListApi(data) {
  return request({
    url: '/examination/fromExaminee/list',
    method: 'POST',
    params: data
  })
}

// 学生详情
export function getStudentDetailApi(data) {
  return request({
    url: '/examination/fromExaminee/info',
    method: 'POST',
    params: data
  })
}


// 添加
export function addStudentApi(data) {
  return request({
    url: '/examination/fromExaminee/add',
    method: 'POST',
    params: data
  })
}

// 编辑
export function editStudentApi(data) {
  return request({
    url: '/examination/fromExaminee/edit',
    method: 'POST',
    params: data
  })
}

// 删除
export function delStudentApi(data) {
  return request({
    url: '/examination/fromExaminee/remove',
    method: 'POST',
    params: data
  })
}

// 导出
export function exportApi(data) {
  return request({
    url: '/examination/fromExaminee/export',
    responseType: 'blob',
    method: 'POST',
    params: data
  })
}


// 导入
export function importDataApi(data) {
  return request({
    url: '/examination/fromExaminee/importData',
    ContentType: 'multipart/form-data',
    method: 'POST',
    params: data
  })
}
